/**
 * 
 */
package com.google.code.netz.wfe;

import com.google.code.netz.wfe.api.IWorkflowContext;
import com.google.code.netz.wfe.api.IWorkflowEngine;

/**
 * @author <a href='mailto:rahul.thakur.xdev@gmail.com'>Rahul Thakur</a>
 * @since 1.0
 * @version $Id: DefaultWorkflowContext.java 17 2009-02-09 13:08:49Z rahul.thakur.xdev $
 */
public class DefaultWorkflowContext implements IWorkflowContext {

	/**
	 * 
	 */
	private IWorkflowEngine engine;

	/**
	 * @param engine
	 */
	public DefaultWorkflowContext(IWorkflowEngine engine) {
		super();
		this.engine = engine;
	}

	/**
	 * {@inheritDoc}
	 * 
	 * @see com.google.code.netz.wfe.api.IWorkflowContext#getWorkflowEngine()
	 */
	@Override
	public IWorkflowEngine getWorkflowEngine() {
		return this.engine;
	}

}
